package com.ruoyi;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 启动程序
 *
 * @author lgfh
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@MapperScan("com.ruoyi.mapper")
@EnableScheduling
public class RuoYiApplication {
    public static void main(String[] args) {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(RuoYiApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  领工防护-驰选MRO启动成功   ლ(´ڡ`ლ)ﾞ  \n" +
                ////////////////////////////////////////////////////////////////////
                "   ||           _ ____    __ __           ||   \n" +
                "    / /        //        //___    //___ / /  \n" +
                "   / /        //  ____  / ___    / ___   /   \n" +
                "  / /        //    / / //       //    / /    \n" +
                " / /____/ / ((____/ / //       //    /   \n" +
                "  佛祖保佑       永不宕机      永无BUG            ");
    }
}
